﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="FrmAddCard.aspx.cs" Inherits="ExamV5.CardInfo.FrmAddCard" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <meta http-equiv="Content-Language" content="zh-cn" />
	<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
	<script type="text/javascript" language="javascript" src="../Image/NORightMouse.js"></script>
    <link href="../Image/STYLE.CSS" rel="stylesheet" type="text/css" />
	<script language="JavaScript" charset="gb2312" src="../Image/calendar.js"></script>
    <script type="text/javascript" language="javascript">
        function SubmitKeyClick(button) {
            if (event.keyCode == 13) {
                event.keyCode = 9;
                event.returnValue = false;
                document.all[button].click();
            }
        }
		</script>
</head>
<body>
    <form id="Form1" runat="server">
     <table cellSpacing="0" cellPadding="0" border="0">
	    <tr>
		   <td width=37><img src="../image/BobyTip.gif" border="0" /></td>
           <td>当前位置：<a href='../FrmMain.aspx'>系统首页</a> > 证书管理 > 颁发证书</td>
	    </tr>
        </table>
        <table cellSpacing="0" cellPadding="0" border="0" width="100%">
        <tr>
           <td  height=51  background="../image/BobyModNameBG.gif">
                    <table cellSpacing="0" cellPadding="0" border="0">
                        <tr>
                            <td width=5></td>
                            <td width="105"  background="../image/HeadTitleAA.gif" height="41" align="center"><a href='CardInfoList.aspx'  onfocus='this.blur();'><img src="../image/MenuICO/Choose55.gif" border="0" style='POSITION:relative;TOP:3px'>&nbsp;<font color="#ffffff"><b>查询证书</b></font></a></td>
                            <td width="105"  background="../image/HeadLocalAA.gif" height="41" align="center"><a href='FrmAddCardList.aspx'  onfocus='this.blur();'><img src="../image/MenuICO/Menu14.gif" border="0" style='POSITION:relative;TOP:3px'>&nbsp;<font color="#ffffff"><b>颁发证书</b></font></a></td>
                            <td width="105"  background="../image/HeadTitleBA.gif" height="41" align="center"><a href='FrmCountCardList.aspx'  onfocus='this.blur();'><img src="../image/MenuICO/Choose22.gif" border="0" style='POSITION:relative;TOP:3px'>&nbsp;<font color="#ffffff"><b>证书统计</b></font></a></td>
                            <td width="105"  background="../image/HeadTitleCA.gif" height="41" align="center"><a href='FrmSetCardInfo.aspx'  onfocus='this.blur();'><img src="../image/MenuICO/Menu21.gif" border="0" style='POSITION:relative;TOP:3px'>&nbsp;<font color="#ffffff"><b>证书设置</b></font></a></td>
                        </tr>
                   </table>
            </td>
         </tr>
         <tr>
            <td  height=33  background="../image/QueryBG.gif" align="right">
                                    <!--查询区-->
                                   <table cellSpacing="0" cellPadding="0" border="0">
                            <tr>
                                <td><asp:Button ID="butQuery" runat="server"  Text="确认颁发"  style='POSITION:relative;TOP:-2px'  CssClass="but4R"  onclick="butQuery_Click" /></td>
                              <td>&nbsp;&nbsp;</td> 
                                  
                                   </tr>
                        </table>     
            </td>
         </tr>
         <tr>
                <td>
                                    <!--数据列表区-->
                                    <asp:GridView ID="DataGridInfo" runat="server" 
                                            AutoGenerateColumns="False" CellPadding="10" BorderWidth="1px" Width="100%" 
                                            CssClass="tableStyle" BackColor="White" 
                                            AllowSorting="True" onsorting="DataGridInfo_Sorting"  
                                            onrowdatabound="DataGridInfo_RowDataBound" 
                                            DataKeyNames="PaperID,UPID,ExamName,Subject,GetCountFen" >
							            <HeaderStyle Font-Bold="True" HorizontalAlign="Center" CssClass="tabth_bg" ForeColor="#143F61" ></HeaderStyle>
							            <FooterStyle ForeColor="#000066" BackColor="White"></FooterStyle>
                                            <Columns>
                                               
                                                <asp:BoundField DataField="UserCode" HeaderText="准考证号"  SortExpression="UserCode" >
                                                <HeaderStyle Width="70px" />
                                                </asp:BoundField>
                                                <asp:BoundField DataField="UserName" HeaderText="考生姓名"  SortExpression="UserName" >
                                                <HeaderStyle Width="70px" />
                                                </asp:BoundField>
                                                <asp:BoundField DataField="DeptName" HeaderText="单位/部门" >
                                                </asp:BoundField>
                                                <asp:BoundField DataField="JoinDate" HeaderText="开考日期"  SortExpression="JoinDate" >
                                                <HeaderStyle Width="70px" />
                                                </asp:BoundField>
                                                <asp:BoundField DataField="CardNumber" HeaderText="证书编号">
                                                <HeaderStyle Width="120px" />
                                                </asp:BoundField>
                                                <asp:BoundField DataField="CardDate" HeaderText="有效期限">
                                                <HeaderStyle Width="160px" />
                                                </asp:BoundField>
                                            </Columns>
                                        <PagerStyle HorizontalAlign="Right" />
           
                                     </asp:GridView>
                                    </td>
                                </tr>
                               
                                
			</table>
    </form>
   
</body>
</html>